#{extends 'main.html' /}
#{set title:'标签 ' + tag /}
 
*{********* Title ********* }*

#{if posts.size() > 0}
   <h3>有 ${posts.size()} 个文章的标签是 '${tag}'</h3>  
#{/if} 
#{else}
    <h3>没有标签是'${tag}'的文章</h3>
#{/else}
 
*{********* Posts list *********}*
 
<div class="older-posts">    
    #{list items:posts, as:'post'}
        #{display post:post, as:'teaser' /}
    #{/list}
</div> 